package com.yuelife.market;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableEurekaClient //开启注册中心客户端
//@EnableScheduling //启用定时任务
@EnableCaching//开启缓存
@MapperScan(basePackages="com.yuelife.market.dao")
public class MarketApplication {
    public static void main(String[] args) {
        SpringApplication.run(MarketApplication.class,args);
    }

}
